package com.sctu.fragment;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.sctu.EMSApp.R;
import com.sctu.view.ZoomImageView;

/**
 * Created by zhu on 2015/11/7.
 */
public class PlayRouteFragment extends Fragment {
    private ZoomImageView zoomImg;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_play_route,container,false);
        zoomImg = (ZoomImageView) view.findViewById(R.id.image);
        Bitmap bitmap = BitmapFactory.decodeResource(this.getResources(),
                R.drawable.travel_route_photo);
        zoomImg.setImage(bitmap);
        return view;
    }
}
